package com.cole.gx095.domain.mapper;

import com.cole.gx095.domain.CostVo;
import com.cole.gx095.entity.Salebill;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CostVOMapper {
    CostVOMapper INSTANCT = Mappers.getMapper(CostVOMapper.class);

    @Mappings({@Mapping(target = "createAdminTrueName",source = "createAdminTrueName")
            ,@Mapping(target = "createDate",source = "createDate")})
    CostVo conver(Salebill salebill);

//    CostVo salebillcontractconver(Salebill salebill, Salecontract salecontract);
}
